<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/8/9
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="register" >
    <h2 align="center">请注册</h2>
    <table align="center">
        <tr>
            <td>员工姓名：</td>
            <td><input type="text" name="ename" id="mess" onblur="checkName()"></td>
            <td>    <span id="message"></span></td>
        </tr>
        <tr>
            <td>入职日期：</td>
            <td><input type="text" name="hiredate" id="hiredate" onblur="sspwd()"></td>
            <td> <span id="spwd"></span></td>
        </tr>
        <tr>
            <td>工作：</td>
            <td><input type="text" name="job" id="job"></td>
        </tr>
        <tr>
            <td>薪水：</td>
            <td><input type="text" name="sal" id="sal"></td>
        </tr>
        <tr>
            <td>所属部门：</td>
            <td><input type="text" name="deptid" id="deptid"></td>
        </tr>


        <tr>
            <td><a href="login.jsp">登录</a> </td>
            <td> <input type="submit" value="注册"  ></td>
        </tr>

    </table>
</form>
</body>
</html>
